/*
 * Copyright (C), 2002-2016, 苏宁易购电子商务有限公司
 * FileName: ModelTaskMainBean.java
 * Author:   13075787@cnsuning.com
 * Date:     2016-07-01 上午10:00:00
 */
package com.suning.sawp.intf.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * 实体类DTO任务管理-任务主表   
 * 
 * @author 13075787@cnsuning.com
 */
public class ModelTaskMainBean implements Serializable {
    /**
     * Serial UID
     */
    private static final long serialVersionUID = 1L;

    /**
     * 任务id 任务id
     */
    private Long taskId;
    /**
     * 任务开始时间 任务开始时间
     */
    private java.util.Date startTime;
    /**
     * 任务结束时间 任务结束时间
     */
    private java.util.Date endTime;
    /**
     * 任务类型 1盘点任务 2商品簇维护
     */
    private Integer taskType;
    /**
     * 任务状态 0未开始 1进行中 2已结束
     */
    private Integer runStatus;
    /**
     * 库位编码 库位编码
     */
    private String storageCode;
    /**
     * 有效状态 0禁用 1启用
     */
    private Integer validStatus;
    /**
     * 更新时间 更新时间
     */
    private java.util.Date updateTime;
    /**
     * 操作人
     */
    private String oprStaff;
    /**
     * 操作时间
     */
    private java.util.Date oprTime;
    

    /**
     * Get taskId
     * 
     * @return taskId
     */
    @Id
    @Column(name = "TASK_ID")
    public Long getTaskId() {
        return this.taskId;
    }

    /**
     * Set taskId
     * 
     * @param taskId 任务id
     */
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    /**
     * Get startTime
     * 
     * @return startTime
     */
    @Column(name = "START_TIME")
    public java.util.Date getStartTime() {
        return this.startTime;
    }

    /**
     * Set startTime
     * 
     * @param startTime 任务开始时间
     */
    public void setStartTime(java.util.Date startTime) {
        this.startTime = startTime;
    }

    /**
     * Get endTime
     * 
     * @return endTime
     */
    @Column(name = "END_TIME")
    public java.util.Date getEndTime() {
        return this.endTime;
    }

    /**
     * Set endTime
     * 
     * @param endTime 任务结束时间
     */
    public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }

    /**
     * Get taskType
     * 
     * @return taskType
     */
    @Column(name = "TASK_TYPE")
    public Integer getTaskType() {
        return this.taskType;
    }

    /**
     * Set taskType
     * 
     * @param taskType 任务类型
     */
    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    /**
     * Get runStatus
     * 
     * @return runStatus
     */
    @Column(name = "RUN_STATUS")
    public Integer getRunStatus() {
        return this.runStatus;
    }

    /**
     * Set runStatus
     * 
     * @param runStatus 任务状态
     */
    public void setRunStatus(Integer runStatus) {
        this.runStatus = runStatus;
    }

    /**
     * Get storageCode
     * 
     * @return storageCode
     */
    @Column(name = "STORAGE_CODE")
    public String getStorageCode() {
        return this.storageCode;
    }

    /**
     * Set storageCode
     * 
     * @param storageCode 库位编码
     */
    public void setStorageCode(String storageCode) {
        this.storageCode = storageCode;
    }

    /**
     * Get validStatus
     * 
     * @return validStatus
     */
    @Column(name = "VALID_STATUS")
    public Integer getValidStatus() {
        return this.validStatus;
    }

    /**
     * Set validStatus
     * 
     * @param validStatus 有效状态
     */
    public void setValidStatus(Integer validStatus) {
        this.validStatus = validStatus;
    }

    /**
     * Get updateTime
     * 
     * @return updateTime
     */
    @Column(name = "UPDATE_TIME")
    public java.util.Date getUpdateTime() {
        return this.updateTime;
    }

    /**
     * Set updateTime
     * 
     * @param updateTime 更新时间
     */
    public void setUpdateTime(java.util.Date updateTime) {
        this.updateTime = updateTime;
    }

    @Column(name = "OPR_STAFF")
    public String getOprStaff() {
        return oprStaff;
    }

    public void setOprStaff(String oprStaff) {
        this.oprStaff = oprStaff;
    }

    @Column(name = "OPR_TIME")
    public java.util.Date getOprTime() {
        return oprTime;
    }

    public void setOprTime(java.util.Date oprTime) {
        this.oprTime = oprTime;
    }

}
